package imoney.shared;

import java.io.Serializable;
import java.util.ArrayList;

/**
 * A model class used for data transport in specific RPC calls (in order not to make mutliple calls
 * to fill one gui object). This class will help fill the genereal financial situation of the
 * group in the lobby. Fields : list of pseudos + list of debts
 * 
 * @author Arnaud Peloquin
 *
 */
public class GroupSituation implements Serializable {

	/**
	 * date of the last major update (incompatible with previous versions).
	 */
	private static final long serialVersionUID = 12092010L;
	private ArrayList<String> pseudos = new ArrayList<String>();
	private ArrayList<Double> debts = new ArrayList<Double>();
	
	public GroupSituation(){}

	public void setPseudos(ArrayList<String> pseudos) {
		this.pseudos = pseudos;
	}

	public ArrayList<String> getPseudos() {
		return pseudos;
	}

	public void setDebts(ArrayList<Double> debts) {
		this.debts = debts;
	}

	public ArrayList<Double> getDebts() {
		return debts;
	}
	
	
}
